From: IOhannes m zmölnig (Debian/GNU) Date: Thu, 4 Aug 2022 15:41:51 +0000 (+0200) Subject: Install apiref via dh_installdocs X-Git-Tag: archive/raspbian/7.0.1_ds0-1+rpi1^2~18 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=cc7c37ef334348e512276275165deceacf7766fd;p=juce.git Install apiref via dh_installdocs --- diff --git a/debian/libjuce-doc.docs b/debian/libjuce-doc.docs new file mode 100644 index 00000000..a1f3595b --- /dev/null +++ b/debian/libjuce-doc.docs @@ -0,0 +1 @@ +docs/doxygen/apiref diff --git a/debian/libjuce-doc.install b/debian/libjuce-doc.install deleted file mode 100644 index bd2288ff..00000000 --- a/debian/libjuce-doc.install +++ /dev/null @@ -1 +0,0 @@ -docs/doxygen/doc/* /usr/share/doc/juce-modules-source/apiref diff --git a/debian/patches/debian_doxygen-outdir.patch b/debian/patches/debian_doxygen-outdir.patch new file mode 100644 index 00000000..2256ec6d --- /dev/null +++ b/debian/patches/debian_doxygen-outdir.patch @@ -0,0 +1,19 @@ +Description: Output doxygen-generated HTML into apiref/ folder + so we don't need to rename it later +Author: IOhannes m zmölnig +Origin: Debian +Forwarded: not-needed +Last-Update: 2022-08-04 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- juce.orig/docs/doxygen/Doxyfile ++++ juce/docs/doxygen/Doxyfile +@@ -1099,7 +1099,7 @@ + # The default directory is: html. + # This tag requires that the tag GENERATE_HTML is set to YES. + +-HTML_OUTPUT = doc ++HTML_OUTPUT = apiref + + # The HTML_FILE_EXTENSION tag can be used to specify the file extension for each + # generated HTML page (for example: .htm, .php, .asp). diff --git a/debian/patches/series b/debian/patches/series index d916206f..9d654e16 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,6 +2,7 @@ debian_fixed-defines.patch debian_no-update-check.patch debian_system_modules.patch debian_python3-doxygen.patch +debian_doxygen-outdir.patch debian_unittests_globalpaths.patch debian_vst.patch debian_link_systemlibs.patch diff --git a/debian/rules b/debian/rules index 62f99ac2..4792fde2 100755 --- a/debian/rules +++ b/debian/rules @@ -78,7 +78,11 @@ override_dh_install-indep: -type f -executable \ '(' -name "*.h" -or -name "*.cpp" ')' \ -exec chmod -c 0644 {} + + dh_doxygen -i +override_dh_installdocs-indep: + dh_installdocs -plibjuce-doc --doc-main-package=juce-modules-source + dh_installdocs --remaining-packages override_dh_installchangelogs: dh_installchangelogs ChangeList.txt